{% extends "visit/layout.jinja2" %}
{% block title %}Home<-{{ super() }}{% endblock %}
{% block head %}
    {{ super() }}
    <style type="text/css">
    </style>
    {# <script type="text/javascript">
        if(!window.GLOBAL) {
          window.GLOBAL = {};
        }
        window.GLOBAL.IS_ADMIN = "{{ is_admin }}".toLowerCase() == 'true' ? true : false;
    </script> #}
{% endblock %}
{% block content %}
    {{ super() }}
    <div id="layout" class="pure-g">
        <div class="article-viewer pure-u-1">
            <div class="article-title">
                <h1>{{ article.title | safe }}</h1>
            </div>
            <div class="article-summary">
                <p>{{ article.summary | _AVOID_EMPTY }}</p>
            </div>
            <div class="article-content">
                <script type="text/plain">{{ article.content | safe }}</script>
            </div>
        </div>
    </div>
{% endblock %}
{% block js_import %}
    {{ super() }}
    {% assets "jl_dist" %}
        <script type="text/javascript">
            GLOBAL.JL_DIST = "{{ ASSET_URL }}";
        </script>
    {% endassets %}
    <script type="text/javascript" src="{{ url_for('static', filename='assets/visit/js/article/view.js') }}"></script>
{% endblock %}